home *** CD-ROM | disk | FTP | other *** search
/ BMUG Revelations / BMUG Revelations.toast / Utilities / Network / Asynchronous Networking / LACS.r < prev    next >
Text File  |  1990-12-21  |  4KB  |  214 lines

  1. /* Copyright © 1988-1990 Apple Computer, Inc.  All rights reserved. */
  2.  
  3. /* • Auto-Include the requirements for this source */
  4. #ifndef __TYPES.R__
  5. #include "Types.r"
  6. #endif
  7.  
  8. #ifndef __SYSTYPES.R__
  9. #include "SysTypes.r"
  10. #endif
  11.  
  12. #ifndef __MacAppTypes__
  13. #include "MacAppTypes.r"
  14. #endif
  15.  
  16. #if qTemplateViews
  17. #ifndef __ViewTypes__
  18. #include "ViewTypes.r"
  19. #endif
  20. #endif
  21.  
  22. #if qDebug
  23. include "Debug.rsrc";
  24. #endif
  25. include "MacApp.rsrc";
  26. include "Dialog.rsrc";
  27.  
  28. #define cMessagesWindow 1000
  29. #define cNewWindow 1001
  30. #define cStatusWindow 1002
  31.  
  32. #define cMarkAllRead 1003
  33. #define cClearMessages 1004
  34.  
  35. #define cPreferences 1005
  36.  
  37. #define mWindows 4
  38. #define mMessages 5
  39.  
  40. #define kSettingsFileSTR 1000
  41. #define kNoExpirationSTR 1001
  42.  
  43. #define kStatStrings 1000
  44.  
  45. #define kLACSSettings 'rums'
  46.  
  47. include $$Shell("ObjApp")"LACS" 'CODE';
  48.  
  49. resource 'seg!' (256, purgeable) {
  50.     {
  51.         "GOpen";
  52.         "GClose";
  53.         "GNonRes";
  54.         "GSelCommand";
  55.         "GDoCommand"
  56.     }
  57. };
  58.  
  59. resource 'SIZE' (-1) {
  60.     dontSaveScreen,
  61.     acceptSuspendResumeEvents,
  62.     enableOptionSwitch,
  63.     canBackground,
  64.     MultiFinderAware,
  65.     backgroundAndForeground,
  66.     dontGetFrontClicks,
  67.     ignoreChildDiedEvents,
  68.     is32BitCompatible,
  69.     reserved,
  70.     reserved,
  71.     reserved,
  72.     reserved,
  73.     reserved,
  74.     reserved,
  75.     reserved,
  76. #if qDebug
  77.     650 * 1024,
  78.     550 * 1024
  79. #else
  80.     400 * 1024,
  81.     350 * 1024
  82. #endif
  83. };
  84.  
  85. include "Defaults.rsrc" 'cmnu' (mApple);        // Grab the default Apple menu
  86.  
  87. resource 'cmnu' (mFile) {
  88.     mFile,
  89.     textMenuProc,
  90.     0x7FFFFBBB,
  91.     enabled,
  92.     "File",
  93.     {
  94.         "Close Window",        noIcon, "W",    noMark, plain, cClose;
  95.         "Preferences...",    noIcon, noKey,    noMark, plain, cPreferences;
  96.         "Quit",                noIcon, "Q",    noMark, plain, cQuit
  97.     }
  98. };
  99.  
  100. resource 'cmnu' (mWindows) {
  101.     mWindows,
  102.     textMenuProc,
  103.     allEnabled,
  104.     enabled,
  105.     "Windows",
  106.     {
  107.         "Messages",        noIcon, "R",    noMark, plain, cMessagesWindow;
  108.         "New",            noIcon, "N",    noMark, plain, cNewWindow;
  109.         "Status",        noIcon, "S",    noMark, plain, cStatusWindow
  110.     }
  111. };
  112.  
  113. resource 'cmnu' (mMessages) {
  114.     mMessages,
  115.     textMenuProc,
  116.     allEnabled,
  117.     enabled,
  118.     "Messages",
  119.     {
  120.         "Mark All Messages Read",    noIcon, "M",    noMark, plain, cMarkAllRead;
  121.         "Delete All Messages",        noIcon, "D",    noMark, plain, cClearMessages
  122.     }
  123. };
  124.  
  125. resource 'STR#' (kStatStrings,
  126. #if qNames
  127. "StatStrings",
  128. #endif
  129.     purgeable) {
  130.         {
  131.             "Bored and idle...";
  132.             "Adding new message...";
  133.             "Updating AppleTalk zone list...";
  134.             "Updating LACS systems list...";
  135.             "Initiating exchange...";
  136.             "Exchanging messages..."
  137.         }
  138. };
  139.  
  140. resource 'STR ' (kSettingsFileSTR,
  141. #if qNames
  142. "SettingsFiles",
  143. #endif
  144.     purgeable) {
  145.     "LACS Settings"
  146. };
  147.  
  148. include "Defaults.rsrc" 'cmnu' (mEdit);        // Grab the default Edit menus
  149.  
  150. include "Defaults.rsrc" 'cmnu' (mBuzzwords);    // Get the default buzzwords menu
  151.  
  152. resource 'MBAR' (kMBarDisplayed) { {mApple; mFile; mEdit; mMessages; mWindows} };
  153.  
  154. resource 'BNDL' (128,
  155. #if qNames
  156. "Bundle",
  157. #endif
  158.     purgeable) {
  159.     'rumo',
  160.     0,
  161.         {
  162.         'ICN#',
  163.             {
  164.             0, 128,
  165.             1, 129,
  166.             },
  167.         'FREF',
  168.             {
  169.             0, 128,
  170.             1, 129,
  171.             }
  172.         }
  173. };
  174.  
  175. resource 'FREF' (129,
  176. #if qNames
  177. "Settings",
  178. #endif
  179.     purgeable) {
  180.     kLACSSettings,
  181.     1,
  182.     ""
  183. };
  184.  
  185. type 'rumo' as 'STR ';
  186. resource 'rumo' (0,
  187. #if qNames
  188. "Signature",
  189. #endif
  190.     purgeable) {
  191.     "LACS 1.1"
  192. };
  193.  
  194. // Get the default MacApp® application icon and necessary bundling rsrcs
  195. include "Defaults.rsrc"  'FREF' (128);
  196.  
  197. // Get the default Version resources
  198. RESOURCE 'vers' (1,
  199. #if qNames
  200. "File Version",
  201. #endif
  202.     purgeable) {
  203.     0x01,
  204.     0x01,
  205.     final,
  206.     0x00,
  207.     verUs,
  208.     "1.1",
  209.     "LACS 1.1, ©Apple Computer, Inc. 1990"
  210. };
  211. include "Defaults.rsrc"  'vers' (2);        // Overall package
  212.  
  213. include "LACSRsrc.rsrc";
  214.